package jsu.lipengcheng.trafficnet.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("news")
public class News implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String title;
    private String description;
    private String content;
    private Integer userId;
    private String time;
}
